import * as json5 from 'json5';

import {Task} from './Task';

export class SchemaTask extends Task{
    constructor(path, content, overridable){
        super('schema', path, content, overridable);
    }

    static renderContent(content){
        return 'module.exports = { schemas: \n'+ json5.stringify(content, null, 2) +'\n}';
    }
}